import Vue from 'vue'
import App from './App'

import uView from "uview-ui";
import httpInterceptor from '@/common/http.interceptor.js'
import jwx from '@/common/wechat.js'

import store from '@/store';
		
Vue.use(uView);

/**
 * eventBus
 * */
Vue.prototype.$eventBus = new Vue();

/**
 * 微信
 * */
Vue.prototype.$wx = jwx

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})

Vue.use(httpInterceptor, app)
app.$mount()
